package org.leviatan.definator.core.model;

import java.io.Serializable;

public abstract interface Field extends Serializable {
	
	public abstract String getId();
	
	public abstract void setId(String aId);
	
	public abstract String getName();
	
	public abstract void setName(String aName);
	
	public abstract int getLength();
	
	public abstract void setLength(int aLength);
	
	/*
	 * Type is either "txt" or "bin"
	 */
	public abstract String getType();
	
	public abstract void setType(String aType);
	
	
	/*
	 * TODO Further detail data Object that is returned.
	 */
	public abstract Object getData();
	
	public abstract void setData(Object aData);
	
	public abstract String getRecordRef();
	
	public abstract void setRecordRef(String aRef);

}
